﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Manager/Manager.master" AutoEventWireup="true" CodeFile="ReportExhibition.aspx.cs" Inherits="Manager_ReportExhibition" %>

<%@ Register assembly="DevExpress.Web.ASPxGridView.v11.2, Version=11.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v11.2, Version=11.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxGridView.v11.2.Export, Version=11.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView.Export" tagprefix="dx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <asp:Button ID="btnExExcel" runat="server" onclick="btnExExcel_Click" 
        Text="Export to Excel" />
    <asp:Button ID="btnExPDF" runat="server" onclick="btnExPDF_Click" 
        Text="Export to PDF" />
    <dx:ASPxGridView ID="ASPxGridView1" runat="server" AutoGenerateColumns="False" 
    CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx" 
    DataSourceID="SqlDataSource1">
    <Columns>
        <dx:GridViewDataTextColumn FieldName="Exhibition_Details_ID" ReadOnly="True" 
            VisibleIndex="0">
            <EditFormSettings Visible="False" />
        </dx:GridViewDataTextColumn>
        <dx:GridViewDataTextColumn FieldName="PostingID" VisibleIndex="1">
        </dx:GridViewDataTextColumn>
        <dx:GridViewDataTextColumn FieldName="ExhibitionID" VisibleIndex="2">
        </dx:GridViewDataTextColumn>
        <dx:GridViewDataCheckColumn FieldName="Status" VisibleIndex="3">
        </dx:GridViewDataCheckColumn>
        <dx:GridViewDataTextColumn FieldName="Money_Paid" VisibleIndex="4">
        </dx:GridViewDataTextColumn>
        <dx:GridViewDataCheckColumn FieldName="Returned_Student" VisibleIndex="5">
        </dx:GridViewDataCheckColumn>
        <dx:GridViewDataTextColumn FieldName="Firtname_Customer" VisibleIndex="6">
        </dx:GridViewDataTextColumn>
        <dx:GridViewDataTextColumn FieldName="Lastname_Customer" VisibleIndex="7">
        </dx:GridViewDataTextColumn>
        <dx:GridViewDataTextColumn FieldName="Address_Customer" VisibleIndex="8">
        </dx:GridViewDataTextColumn>
        <dx:GridViewDataTextColumn FieldName="Phone_Customer" VisibleIndex="9">
        </dx:GridViewDataTextColumn>
    </Columns>
    <Images SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css">
        <LoadingPanelOnStatusBar Url="~/App_Themes/DevEx/GridView/StatusBarLoading.gif">
        </LoadingPanelOnStatusBar>
        <LoadingPanel Url="~/App_Themes/DevEx/GridView/Loading.gif">
        </LoadingPanel>
    </Images>
    <ImagesFilterControl>
        <LoadingPanel Url="~/App_Themes/DevEx/GridView/Loading.gif">
        </LoadingPanel>
    </ImagesFilterControl>
    <Styles CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx">
        <Header ImageSpacing="5px" SortingImageSpacing="5px">
        </Header>
        <LoadingPanel ImageSpacing="5px">
        </LoadingPanel>
    </Styles>
    <StylesEditors ButtonEditCellSpacing="0">
        <ProgressBar Height="21px">
        </ProgressBar>
    </StylesEditors>
</dx:ASPxGridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" 
    ConnectionString="<%$ ConnectionStrings:Institte_of_Fine_ArtsConnectionString %>" 
    SelectCommand="SELECT * FROM [Exhibition_Details]"></asp:SqlDataSource>
    <dx:ASPxGridViewExporter ID="export" runat="server">
    </dx:ASPxGridViewExporter>
</asp:Content>

